<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<link href="${pageContext.request.contextPath }/ui/ligerui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath }/css/desktop/main.css" rel="stylesheet" type="text/css" /> 
<script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/ui/ligerui/js/core/base.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/ui/ligerui/js/ligerui.min.js"></script>
<title>QZL-校园OA协同办公管理系统【内测版 1.0】</title>

<script type="text/javascript">
var tab = null;
var accordion = null;
$(function(){
	//框架
	$("#main").ligerLayout({
		leftWidth: 200,
		heightDiff:-34,
		space:4,
		isRightCollapse:true,
		onHeightChanged: f_heightChanged});
	var height = $(".l-layout-center").height();
	//Tab
    $("#framecenter").ligerTab({ height: height });
    $("#accordion1").ligerAccordion({ height: height - 24});
    $(".l-link").hover(function ()
    		{
                $(this).addClass("l-link-over");
            }, function ()
            {
                $(this).removeClass("l-link-over");
            });
    tab = $("#framecenter").ligerGetTabManager();
    accordion = $("#accordion1").ligerGetAccordionManager();
    $("#pageloading").hide();
});
function f_heightChanged(options){
    if (tab)
        tab.addHeight(options.diff);
    if (accordion && options.middleHeight - 24 > 0)
        accordion.setHeight(options.middleHeight - 24);
}
function f_addTab(tabid,text, url){ 
    tab.addTabItem({ tabid : tabid,text: text, url: url });
}
</script>
</head>
<body>
	<div id="topmenu" style="height:100px; line-height:32px; text-align:center; border: 1px solid #000000;"> 
	</div>
	<div id="main" style="width:99.5%; margin:0 auto; margin-top:2px;">
		<div position="left" title="主要菜单" id="accordion1">
			<div title="我的办公桌">
				<div class="menu_link">
					<a class="l-link" href="javascript:f_addTab('teacher','教师管理','${pageContext.request.contextPath}/pages/mydesk/teacher/teacher_list.jsp')">
						<img src="${pageContext.request.contextPath }/images/user.png"/><span>教师管理</span>
					</a>
				</div>
				<div class="menu_link">
					<a class="l-link" href="javascript:f_addTab('myoffice','文档管理','http://www.baidu.com/')">
						<img src="${pageContext.request.contextPath }/images/user.png"/><span>我的课程</span>
					</a>
				</div>
				<div class="menu_link">
					<a class="l-link" href="javascript:f_addTab('upload','上传DOM','${pageContext.request.contextPath}/pages/temp/upload.jsp')">
						<img src="${pageContext.request.contextPath }/images/user.png"/><span>上传DOM</span>
					</a>
				</div>
				<div class="menu_link">
					<a class="l-link" href="javascript:f_addTab('xls','xls操作','${pageContext.request.contextPath}/pages/temp/upload.jsp')">
						<img src="${pageContext.request.contextPath }/images/user.png"/><span>xls操作</span>
					</a>
				</div>
			</div>
			<div title="学生管理">
				<div class="menu_link">
					<a class="l-link" href="javascript:f_addTab('myoffice','文档管理','http://www.baidu.com/')">
						<img src="${pageContext.request.contextPath }/images/user.png"/><span>文档管理</span>
					</a>
				</div>
				<div class="menu_link">
					<a class="l-link" href="javascript:f_addTab('myoffice','文档管理','http://www.baidu.com/')">
						<img src="${pageContext.request.contextPath }/images/user.png"/><span>我的课程</span>
					</a>
				</div>
				<div class="menu_link">
					<a class="l-link" href="javascript:f_addTab('myoffice','文档管理','http://www.baidu.com/')">
						<img src="${pageContext.request.contextPath }/images/user.png"/><span>文档管理</span>
					</a>
				</div>
				<div class="menu_link">
					<a class="l-link" href="javascript:f_addTab('myoffice','文档管理','http://www.baidu.com/')">
						<img src="${pageContext.request.contextPath }/images/user.png"/><span>我的课程</span>
					</a>
				</div>
			</div>
			<div title="系统设置">
				<div class="menu_link">
					<a class="l-link" href="javascript:f_addTab('module','模块管理','${pageContext.request.contextPath }/pages/sys/module/module_list.jsp')">
						<img src="${pageContext.request.contextPath }/images/user.png"/><span>模块管理</span>
					</a>
				</div>
				<div class="menu_link">
					<a class="l-link" href="javascript:f_addTab('myoffice','文档管理','http://www.baidu.com/')">
						<img src="${pageContext.request.contextPath }/images/user.png"/><span>我的课程</span>
					</a>
				</div>
				<div class="menu_link">
					<a class="l-link" href="javascript:f_addTab('myoffice','文档管理','http://www.baidu.com/')">
						<img src="${pageContext.request.contextPath }/images/user.png"/><span>文档管理</span>
					</a>
				</div>
				<div class="menu_link">
					<a class="l-link" href="javascript:f_addTab('myoffice','文档管理','http://www.baidu.com/')">
						<img src="${pageContext.request.contextPath }/images/user.png"/><span>我的课程</span>
					</a>
				</div>
			</div>
		</div>
		<div position="center" id="framecenter"> 
            <div tabid="home" title="我的主页" >
                <iframe frameborder="0" name="home" id="home" src="http://www.baidu.com/"></iframe>
            </div> 
        </div>
        <div position="right" title="通讯录">
        </div>
	</div>
	<div style="height:32px; line-height:32px; text-align:center;">
            版权所有：qzl工作室
    </div>
</body>
</html>